<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<? include '../console/interview_console.php'; ?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
body{
	padding:20px 0px 0px 20px;
	font:15px '微软雅黑';
}
table{
	width:800px;
	border-top:#666 1px solid;
}
#title{
	font-weight:bold;
}
td{
	border-bottom:#333 1px dotted;
	margin:5px;
}
</style>
</head>

<?php
if(isset($_POST['keyword'])){
	$keyword=$_POST['keyword'];
	$interview=new interview();
	
	$selectitem=$interview->getSelectItem($keyword);
}
?>

<body>
<table width="80%" id="table" cellpadding="5">
<tr id="title"><td>序号</td><td>姓名</td><td>面试职位</td><td width="150">面试时间</td><td>面试官</td><td>简历</td><td>面试结果</td></tr>
<?
$i=1;
foreach($selectitem as $v){
	echo "<tr><td>$i</td><td>$v[name]</td><td>$v[job]</td><td>$v[date]</td><td>$v[interviewer]</td><td><a href='../file_operate/file_down.php?file_name=$v[resume]'>下载</a></td><td>$v[result]</td></tr>";
	$i++;
}
?>
</table>
</body>

</html>